package com.example.demo.lesson1;

public class RecommenderImplementation {
    public RecommenderImplementation(com.example.demo.lesson2.ContentBasedFilter contentBasedFilter) {
    }

    public RecommenderImplementation(ContentBasedFilter contentBasedFilter) {
    }

    public String[] recommendMovies (String movie) {
//使用基于内容的过滤器来寻找类似的电影
        ContentBasedFilter filter =new ContentBasedFilter();
        String[] results= filter.getRecommendations("Finging Rory");
//返回结果
return new String[]{"M1","M2","M3"};
}
}
